<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String name = request.getParameter("name");
String pass = request.getParameter("pass");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>管理员信息</title>
  </head>
  
  <body> 
  <%if(name.equals("admin") && pass.equals("123")){ %>
  管理员信息
    <table width="200" border="1">
		<tr>
			<td>姓名</td>
			<td>阿猫</td>
		</tr>
		<tr>
			<td>性别</td>
			<td>男</td>
		</tr>
		<tr>
			<td>身高</td>
			<td>226cm</td>
		</tr>
		<tr>
			<td>身份</td>
			<td>管理员</td>
		</tr>
		<tr>
			<td>兴趣爱好</td>
			<td>编程，删帖</td>
		</tr>
	</table> 
	<%}else{ %>
	用户名或密码错误
	<%} %>
  </body>
</html>
